package com.xja.shoppingmall.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author CHENCHEN
 * @title
 * @createTime 2021-12-1519:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "商品实体", description = "服务间调用传递")
public class GoodsVo implements Serializable {

    @ApiModelProperty(value="商品ID")
    private Long id;

    @ApiModelProperty(value="商品数量")
    private Long goodsCount;

    @ApiModelProperty(value="商品标题")
    private String goodsName;
}
